//1. 基本类型合集
// 数字，二、八、十六进制都支持
var numone = 6;
var numtwo = 0xf00d;
// 字符串，单双引都行
var namez = "bob";
var xiaoming = "Hello,my name is " + namez;
console.log(xiaoming);
//可定义数组里的属性类型
var list = ['sada', '2', '3'];
var lists = [4, 5, 6];
// 2. 特殊类型
// 1. 元组 Tuple
//想象 元组 作为有组织的数组，你需要以正确的顺序预定义数据类型。
var tuple = [24, "indrek", "lasn"];
//2. 枚举 enum
var Color;
(function (Color) {
    Color[Color["Red"] = 1] = "Red";
    Color[Color["Green"] = 2] = "Green";
    Color[Color["Blue"] = 4] = "Blue";
})(Color || (Color = {}));
var c = Color.Green;
var b = Color[2];
console.log(c);
console.log(b);
